<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <!-- 为了适配移动端 -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="commone.js"></script>
    <style>
        *{
            padding: 0px;
            margin:0px;
        }
        /* 
            设计图稿
            750px      --->      375px屏幕    0.5        414px屏幕   0.552 
         
         */

         div{
            width:100rem;
            height:100rem;
            background:red;
         }
    </style>
</head>
<body>
    <div></div>

    <script>
        window.onresize=function(){
            console.log(222);
        };
    </script>
</body>
</html>